{extend name="public/base" /}

<!--尾部-->

<!--返回顶部-->
{block name="content"}
{__block__}
<input type="hidden" name="mun_url" id="mun_url" value="1,0"/>
<div class="c-r right">
	<div class="label1">
		<div class="title">
			Banner管理
		</div>



		<div class="label-4">
			<div class="form" id="forms">
				<div class="breadcrumb">
									<span>
										<a href="#">Banner管理 </a>
										<span class="separator">/</span>
									</span>
									<span>
										<span>新增Banner</span>
									</span>
				</div>

				<form action="insert" method="post" enctype="multipart/form-data" class="form-2">
					<div><label class="ltxt">Banner图:</label><input type="file" name="image" /><span></span></div>
					<div><label>链接URL:</label><input type="text" name="name" id="" value="" /><span></span></div>


					<div><label>排序:</label><input type="text" name="sort" id="" value="" /><span></span></div>

					<div><label></label><button class="btns btn-right subbtn">完成</button><button class="btns btn-right">返回</button></div>
					<div class="clear"></div>
				</form>
			</div>

		</div>

	</div>
</div>
<div id="toup">
	<img src="../../static/home/img/toup.png"/>
</div>
<script type="text/javascript">
	$(".subbtn").click(function(){
		if (!regulars('','name','链接地址','')) {
			return false
		}
		if ($('#forms input[type="file"]').val() == '') {
			prompt('请添加图片',0)
			return false
		}
	})
</script>

{/block}

